package com.htgd.gardenexpo.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 获取详情
 * </p>
 *
 * @author author
 * @since 2024-07-04
 */
@Data
public class GeConIntegralGetDetailsVO implements Serializable {

    @TableId(value = "id")
    private Integer id;

    @ApiModelProperty(value = "数量")
    private Integer amount;

    @ApiModelProperty(value = "途径")
    private String method;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @ApiModelProperty(value = "获取时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "openId")
    private String openId;

    @ApiModelProperty(value = "消耗数量")
    private Integer consumeNum;

    @ApiModelProperty(value = "积分商品订单号")
    private String orderNum;

    @ApiModelProperty(value = "积分商品名称")
    private String goodsName;

    @ApiModelProperty(value = "用户名")
    private String name;
}
